package safari.model.transaction;

import safari.model.sell.SellBoardVO;

public class TradeHistoryVO {
	private int tradeHistoryNo;
	private SellBoardVO svo;
	private String timeTraded;
	private String buyer;
	private String seller;
	public TradeHistoryVO() {
		super();
	}
	public TradeHistoryVO(SellBoardVO svo, String buyer, String seller) {
		super();
		this.svo = svo;
		this.buyer = buyer;
		this.seller = seller;
	}
	public TradeHistoryVO(int tradeHistoryNo,
			String timeTraded, String buyer, String seller) {
		super();
		this.tradeHistoryNo = tradeHistoryNo;
		this.timeTraded = timeTraded;
		this.buyer = buyer;
		this.seller = seller;
	}
	public TradeHistoryVO(int tradeHistoryNo, SellBoardVO svo,
			String timeTraded, String buyer, String seller) {
		super();
		this.tradeHistoryNo = tradeHistoryNo;
		this.svo = svo;
		this.timeTraded = timeTraded;
		this.buyer = buyer;
		this.seller = seller;
	}
	public int getTradeHistoryNo() {
		return tradeHistoryNo;
	}
	public void setTradeHistoryNo(int tradeHistoryNo) {
		this.tradeHistoryNo = tradeHistoryNo;
	}
	public SellBoardVO getSvo() {
		return svo;
	}
	public void setSvo(SellBoardVO svo) {
		this.svo = svo;
	}
	public String getTimeTraded() {
		return timeTraded;
	}
	public void setTimeTraded(String timeTraded) {
		this.timeTraded = timeTraded;
	}
	public String getBuyer() {
		return buyer;
	}
	public void setBuyer(String buyer) {
		this.buyer = buyer;
	}
	public String getSeller() {
		return seller;
	}
	public void setSeller(String seller) {
		this.seller = seller;
	}
	@Override
	public String toString() {
		return "TradeHistoryVO [tradeHistoryNo=" + tradeHistoryNo + ", svo="
				+ svo + ", timeTraded=" + timeTraded + ", buyer=" + buyer
				+ ", seller=" + seller + "]";
	}
}
